home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997 September / Macworld (1997-09).dmg / Serious Software / Cherwell Scientific Demos / pro Fit / pro Fit 5.0 demo (68k).sea / pro Fit 5.0 demo (68k) / Functions & Programs / •Gadgets / drawing macros / arrow next >
MacBinary  |  1996-06-01  |  2.5 KB  |  [ftFC/NLft]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: arrow

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
100% file MacBinary II, inited, Sat Jun 1 12:23:23 1996, modified Sat Jun 1 12:23:23 1996, creator 'NLft', type 'ftFC', 1464 bytes "arrow" , at 0x638 815 bytes resource default (weak)
99% file data default
65% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ftFC]
macFileCreator[NLft]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 61 72 72 6f 77 00 | 00 00 00 00 00 00 00 00 |..arrow.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 66 74 46 43 4e 4c 66 | 74 01 00 00 00 00 00 00 |.ftFCNLf|t.......|
|00000050| 00 00 00 00 00 05 b8 00 | 00 03 2f ad d6 1e fb ad |........|../.....|
|00000060| d6 1e fb 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ec 02 00 00 |........|........|
|00000080| 7b 0d 09 54 68 69 73 20 | 70 72 6f 67 72 61 6d 20 |{..This |program |
|00000090| 64 72 61 77 73 20 74 68 | 65 20 6f 75 74 6c 69 6e |draws th|e outlin|
|000000a0| 65 20 6f 66 20 61 20 28 | 62 69 67 29 20 61 72 72 |e of a (|big) arr|
|000000b0| 6f 77 20 61 74 20 74 68 | 65 20 6c 61 73 74 20 63 |ow at th|e last c|
|000000c0| 6c 69 63 6b 65 64 0d 09 | 70 6f 69 6e 74 20 69 6e |licked..|point in|
|000000d0| 20 74 68 65 20 64 72 61 | 77 69 6e 67 20 77 69 6e | the dra|wing win|
|000000e0| 64 6f 77 2e 0d 09 0d 09 | 54 68 69 73 20 70 72 6f |dow.....|This pro|
|000000f0| 67 72 61 6d 20 64 6f 65 | 73 20 6e 6f 74 20 62 72 |gram doe|s not br|
|00000100| 69 6e 67 20 75 70 20 61 | 6e 79 20 64 69 61 6c 6f |ing up a|ny dialo|
|00000110| 67 20 62 6f 78 2e 20 54 | 68 65 20 64 69 6d 65 6e |g box. T|he dimen|
|00000120| 73 69 6f 6e 73 20 6f 66 | 20 74 68 65 0d 09 61 72 |sions of| the..ar|
|00000130| 72 6f 77 20 61 6e 64 20 | 69 74 73 20 6f 72 69 65 |row and |its orie|
|00000140| 6e 74 61 74 69 6f 6e 20 | 61 72 65 20 73 65 74 20 |ntation |are set |
|00000150| 69 6e 20 74 68 65 20 70 | 72 6f 63 65 64 75 72 65 |in the p|rocedure|
|00000160| 20 69 6e 69 74 69 61 6c | 69 7a 65 2c 20 62 65 6c | initial|ize, bel|
|00000170| 6f 77 2e 0d 09 0d 09 54 | 6f 20 75 73 65 20 74 68 |ow.....T|o use th|
|00000180| 65 20 70 72 6f 67 72 61 | 6d 2c 20 68 69 74 20 63 |e progra|m, hit c|
|00000190| 6d 64 2d 4c 20 28 6f 72 | 20 63 6c 69 63 6b 20 74 |md-L (or| click t|
|000001a0| 68 65 20 41 64 64 20 62 | 75 74 74 6f 6e 29 2c 20 |he Add b|utton), |
|000001b0| 6c 6f 6f 6b 20 61 74 20 | 69 74 73 20 0d 09 6b 65 |look at |its ..ke|
|000001c0| 79 62 6f 61 72 64 20 65 | 71 75 69 76 61 6c 65 6e |yboard e|quivalen|
|000001d0| 74 20 69 6e 20 74 68 65 | 20 4d 69 73 63 20 6d 65 |t in the| Misc me|
|000001e0| 6e 75 2c 20 63 6c 69 6b | 20 69 6e 20 74 68 65 20 |nu, clik| in the |
|000001f0| 64 72 61 77 69 6e 67 20 | 77 69 6e 64 6f 77 2c 20 |drawing |window, |
|00000200| 0d 09 61 6e 64 20 72 75 | 6e 20 74 68 65 20 70 72 |..and ru|n the pr|
|00000210| 6f 67 72 61 6d 2e 20 54 | 68 65 6e 20 63 6c 69 63 |ogram. T|hen clic|
|00000220| 6b 20 73 6f 6d 65 77 68 | 65 72 65 20 65 6c 73 65 |k somewh|ere else|
|00000230| 20 61 6e 64 20 72 75 6e | 20 74 68 65 20 70 72 6f | and run| the pro|
|00000240| 67 72 61 6d 20 61 67 61 | 69 6e 2e 20 0d 0d 20 4e |gram aga|in. .. N|
|00000250| 6f 74 65 20 74 68 61 74 | 20 69 6e 20 63 6f 6e 74 |ote that| in cont|
|00000260| 72 61 73 74 20 74 6f 20 | 70 72 6f 20 46 69 74 27 |rast to |pro Fit'|
|00000270| 73 20 61 72 72 6f 77 20 | 73 74 79 6c 65 73 20 69 |s arrow |styles i|
|00000280| 6e 20 74 68 65 20 74 6f | 6f 6c 20 70 61 6c 65 74 |n the to|ol palet|
|00000290| 74 65 2c 0d 20 74 68 65 | 20 61 72 72 6f 77 20 64 |te,. the| arrow d|
|000002a0| 72 61 77 6e 20 62 79 20 | 74 68 69 73 20 70 72 6f |rawn by |this pro|
|000002b0| 67 72 61 6d 20 69 73 20 | 61 20 63 6c 6f 73 65 64 |gram is |a closed|
|000002c0| 20 70 6f 6c 79 67 6f 6e | 20 74 68 61 74 20 63 61 | polygon| that ca|
|000002d0| 6e 20 62 65 20 63 6f 6c | 6f 72 65 64 0d 20 61 6e |n be col|ored. an|
|000002e0| 64 20 66 69 6c 6c 65 64 | 20 69 6e 20 61 73 20 6d |d filled| in as m|
|000002f0| 61 6e 79 20 77 61 79 73 | 20 61 73 20 79 6f 75 20 |any ways| as you |
|00000300| 6c 69 6b 65 2e 0d 7d 0d | 0d 70 72 6f 67 72 61 6d |like..}.|.program|
|00000310| 20 64 72 61 77 41 72 72 | 6f 77 3b 0d 76 61 72 20 | drawArr|ow;.var |
|00000320| 61 6e 67 2c 68 2c 76 2c | 0d 09 09 09 09 74 68 69 |ang,h,v,|.....thi|
|00000330| 63 6b 2c 73 68 61 66 74 | 6c 65 6e 67 74 68 2c 74 |ck,shaft|length,t|
|00000340| 69 70 6c 65 6e 67 74 68 | 2c 74 69 70 77 69 64 74 |iplength|,tipwidt|
|00000350| 68 3a 72 65 61 6c 3b 0d | 0d 70 72 6f 63 65 64 75 |h:real;.|.procedu|
|00000360| 72 65 20 69 6e 69 74 69 | 61 6c 69 7a 65 3b 0d 62 |re initi|alize;.b|
|00000370| 65 67 69 6e 0d 09 09 73 | 68 61 66 74 6c 65 6e 67 |egin...s|haftleng|
|00000380| 74 68 3a 3d 33 35 3b 09 | 09 20 20 20 20 7b 20 74 |th:=35;.|. { t|
|00000390| 68 65 20 6c 65 6e 67 74 | 68 20 6f 66 20 74 68 65 |he lengt|h of the|
|000003a0| 20 62 6f 64 79 20 6f 66 | 20 74 68 65 20 61 72 72 | body of| the arr|
|000003b0| 6f 77 20 7d 0d 09 09 74 | 68 69 63 6b 3a 3d 33 3b |ow }...t|hick:=3;|
|000003c0| 09 09 09 09 09 09 09 09 | 09 20 20 20 20 7b 20 69 |........|. { i|
|000003d0| 74 73 20 68 61 6c 66 20 | 74 68 69 63 6b 6e 65 73 |ts half |thicknes|
|000003e0| 73 20 7d 0d 09 09 74 69 | 70 6c 65 6e 67 74 68 3a |s }...ti|plength:|
|000003f0| 3d 31 35 3b 09 09 09 09 | 20 20 20 20 7b 20 74 68 |=15;....| { th|
|00000400| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 74 68 65 20 |e length| of the |
|00000410| 74 69 70 20 7d 0d 09 09 | 74 69 70 77 69 64 74 68 |tip }...|tipwidth|
|00000420| 3a 3d 35 3b 09 09 09 09 | 09 09 20 20 20 20 7b 20 |:=5;....|.. { |
|00000430| 74 68 65 20 77 69 64 74 | 68 20 6f 66 20 74 68 65 |the widt|h of the|
|00000440| 20 74 69 70 20 7d 0d 09 | 09 61 6e 67 3a 3d 2d 31 | tip }..|.ang:=-1|
|00000450| 30 30 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 7b |00; | {|
|00000460| 20 74 68 65 20 6f 72 69 | 65 6e 74 61 74 69 6f 6e | the ori|entation|
|00000470| 20 6f 66 20 74 68 65 20 | 61 72 72 6f 77 20 69 6e | of the |arrow in|
|00000480| 20 64 65 67 72 65 65 73 | 20 7d 0d 09 09 61 6e 67 | degrees| }...ang|
|00000490| 3a 3d 61 6e 67 2a 70 69 | 2f 31 38 30 3b 20 09 20 |:=ang*pi|/180; . |
|000004a0| 20 20 20 7b 20 6d 6f 76 | 65 20 74 6f 20 72 61 64 | { mov|e to rad|
|000004b0| 69 61 6e 73 7d 0d 65 6e | 64 3b 0d 0d 70 72 6f 63 |ians}.en|d;..proc|
|000004c0| 65 64 75 72 65 20 6c 28 | 78 2c 79 3a 72 65 61 6c |edure l(|x,y:real|
|000004d0| 29 3b 0d 7b 20 70 65 72 | 66 6f 72 6d 73 20 61 20 |);.{ per|forms a |
|000004e0| 72 6f 74 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |rotation| of the |
|000004f0| 63 6f 6f 72 64 69 6e 61 | 74 65 73 20 61 6e 64 20 |coordina|tes and |
|00000500| 69 73 73 75 65 73 20 61 | 20 22 6c 69 6e 65 22 20 |issues a| "line" |
|00000510| 63 6f 6d 6d 61 6e 64 20 | 7d 0d 62 65 67 69 6e 0d |command |}.begin.|
|00000520| 09 6c 69 6e 65 28 63 6f | 73 28 61 6e 67 29 2a 78 |.line(co|s(ang)*x|
|00000530| 2b 73 69 6e 28 61 6e 67 | 29 2a 79 2c 2d 73 69 6e |+sin(ang|)*y,-sin|
|00000540| 28 61 6e 67 29 2a 78 20 | 2b 20 63 6f 73 28 61 6e |(ang)*x |+ cos(an|
|00000550| 67 29 2a 79 29 3b 0d 65 | 6e 64 3b 0d 0d 62 65 67 |g)*y);.e|nd;..beg|
|00000560| 69 6e 0d 09 09 47 65 74 | 43 6c 69 63 6b 65 64 43 |in...Get|ClickedC|
|00000570| 6f 6f 72 64 28 68 2c 76 | 29 3b 0d 20 20 6f 70 65 |oord(h,v|);. ope|
|00000580| 6e 70 6f 6c 79 28 30 2c | 31 29 3b 0d 20 20 6d 6f |npoly(0,|1);. mo|
|00000590| 76 65 74 6f 28 68 2c 76 | 29 3b 0d 20 20 6c 28 73 |veto(h,v|);. l(s|
|000005a0| 68 61 66 74 6c 65 6e 67 | 74 68 2c 30 29 3b 0d 20 |haftleng|th,0);. |
|000005b0| 20 6c 28 30 2c 2d 74 69 | 70 77 69 64 74 68 29 3b | l(0,-ti|pwidth);|
|000005c0| 0d 20 20 6c 28 74 69 70 | 6c 65 6e 67 74 68 2c 74 |. l(tip|length,t|
|000005d0| 69 70 77 69 64 74 68 2b | 74 68 69 63 6b 29 3b 0d |ipwidth+|thick);.|
|000005e0| 20 20 6c 28 2d 74 69 70 | 6c 65 6e 67 74 68 2c 74 | l(-tip|length,t|
|000005f0| 69 70 77 69 64 74 68 2b | 74 68 69 63 6b 29 3b 0d |ipwidth+|thick);.|
|00000600| 20 20 6c 28 30 2c 2d 74 | 69 70 77 69 64 74 68 29 | l(0,-t|ipwidth)|
|00000610| 3b 0d 20 20 6c 28 2d 73 | 68 61 66 74 6c 65 6e 67 |;. l(-s|haftleng|
|00000620| 74 68 2c 30 29 3b 0d 20 | 20 63 6c 6f 73 65 70 6f |th,0);. | closepo|
|00000630| 6c 79 3b 0d 65 6e 64 3b | 00 00 00 00 00 00 00 00 |ly;.end;|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 02 b9 | 00 00 01 b9 00 00 00 76 |........|.......v|
|00000690| 46 61 78 00 00 11 e6 42 | 41 44 41 00 00 11 f2 54 |Fax....B|ADA....T|
|000006a0| 4d 50 4c 00 00 11 fe 55 | 4e 49 54 00 00 12 0a 50 |MPL....U|NIT....P|
|000006b0| 05 61 72 72 6f 77 02 00 | 00 00 66 74 46 43 4e 4c |.arrow..|..ftFCNL|
|000006c0| 66 74 01 00 ff ff ff ff | 00 00 00 00 30 a1 00 00 |ft......|....0...|
|000006d0| 00 00 66 74 46 43 4e 4c | 66 74 01 00 ff ff ff ff |..ftFCNL|ft......|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 ad b5 66 c6 00 00 | 05 b8 00 00 03 2f ff 20 |....f...|...../. |
|00000700| 00 03 03 00 00 00 00 e0 | 04 ff ff 20 00 03 be 00 |........|... ....|
|00000710| 00 00 00 e0 05 ff ff 20 | 00 0e ac 00 00 00 00 e0 |....... |........|
|00000720| 0c ff ff 20 00 16 05 00 | 00 00 00 e0 02 ff ff 20 |... ....|....... |
|00000730| 00 19 54 00 00 00 00 f0 | 13 ff ff 20 00 0e 9c 00 |..T.....|... ....|
|00000740| 00 00 00 f0 14 ff ff 20 | 00 0e a4 00 00 00 00 e0 |....... |........|
|00000750| 04 ff ff 20 00 19 3e 00 | 00 00 00 f0 06 ff ff 20 |... ..>.|....... |
|00000760| 00 47 eb 00 00 00 00 e0 | 2a ff ff 20 00 60 ee 00 |.G......|*.. .`..|
|00000770| 00 00 00 e0 10 ff ff 20 | 00 69 c7 00 00 00 00 e0 |....... |.i......|
|00000780| 00 00 00 08 00 78 00 12 | 01 e7 01 e9 00 00 01 06 |.....x..|........|
|00000790| 00 04 00 09 00 00 06 4d | 6f 6e 61 63 6f 2a 40 82 |.......M|onaco*@.|
|000007a0| c6 08 00 00 00 e6 b0 b6 | 00 d4 33 80 00 d4 33 7c |........|..3...3||
|000007b0| 00 d4 e9 86 00 08 00 e6 | a9 24 40 82 c5 02 00 00 |........|.$@.....|
|000007c0| 00 e6 b0 b6 00 d4 33 80 | 00 d4 33 7c 00 d4 e9 6c |......3.|..3|...l|
|000007d0| 00 08 00 e6 a5 f0 00 e6 | a5 f8 00 e6 a6 00 00 d4 |........|........|
|000007e0| e9 4e 00 00 00 00 00 d4 | e9 4e 00 e6 a9 80 40 82 |.N......|.N....@.|
|000007f0| c1 d2 00 d4 e9 6c 00 08 | 00 e6 aa ac 40 82 c3 90 |.....l..|....@...|
|00000800| 00 e6 a9 64 00 00 00 00 | 00 00 00 00 00 48 00 ff |...d....|.....H..|
|00000810| 00 00 00 08 00 01 00 08 | 00 d7 9a 03 ff 00 00 81 |........|........|
|00000820| 00 08 00 00 ff ff ff ff | 00 00 00 00 00 00 00 e6 |........|........|
|00000830| aa ac 40 82 c1 90 00 e6 | a9 92 40 82 00 00 00 00 |..@.....|..@.....|
|00000840| 00 d4 2e 8e 00 e6 aa b4 | 40 83 19 82 00 ab 01 f4 |........|@.......|
|00000850| 00 00 00 00 00 d4 33 7c | 00 c8 c3 6c 00 c8 c3 6c |......3||...l...l|
|00000860| 00 e6 a9 ac 00 e6 aa ac | 00 01 00 00 00 81 ff ff |........|........|
|00000870| 00 08 00 00 00 00 00 12 | 00 29 ff fd 00 0c ff 00 |........|.)......|
|00000880| 00 00 00 00 ff 00 00 03 | 00 01 00 ff 00 00 00 00 |........|........|
|00000890| 00 06 00 00 80 00 00 00 | 00 10 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 04 00 00 |........|........|
|000008b0| 00 01 00 00 00 78 00 03 | 00 00 00 48 00 48 00 00 |.....x..|...H.H..|
|000008c0| 00 00 03 00 02 4c ff f4 | ff f4 03 0c 02 58 03 47 |.....L..|.....X.G|
|000008d0| 05 28 03 fc 00 02 00 00 | 00 48 00 48 00 00 00 00 |.(......|.H.H....|
|000008e0| 02 d8 02 28 00 01 00 00 | 00 64 00 00 00 01 00 03 |...(....|.d......|
|000008f0| 03 03 00 00 00 01 27 0f | 00 01 00 01 00 00 00 00 |......'.|........|
|00000900| 00 00 00 00 00 00 00 00 | 68 08 00 19 01 90 00 00 |........|h.......|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 07 06 70 72 6f 46 69 | 74 00 00 01 00 00 00 02 |...proFi|t.......|
|00000940| b9 00 00 01 b9 00 00 00 | 76 00 d4 3a 0c 10 e6 00 |........|v..:....|
|00000950| 00 00 1c 00 76 00 01 66 | 49 4e 46 00 04 00 12 53 |....v..f|INF....S|
|00000960| 54 52 20 00 00 00 4e 00 | 81 ff ff 00 00 00 00 00 |TR ...N.|........|
|00000970| d4 2b 7c 00 82 ff ff 00 | 00 00 0c 00 d4 2b c4 00 |.+|.....|.....+..|
|00000980| 83 ff ff 00 00 01 16 00 | d4 2b cc 00 85 ff ff 00 |........|.+......|
|00000990| 00 01 2a 00 d4 2b d0 00 | 84 ff ff 00 00 01 32 00 |..*..+..|......2.|
|000009a0| d4 2b e4 bf f4 ff ff 00 | 00 01 ae 00 d4 2c 38 00 |.+......|.....,8.|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+